package top.lshaci.learning.shardingjdbc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * ShardingJdbcApplication
 * <pre>
 * 遇到问题：
 *     1、使用 druid-spring-boot-starter 依赖，导致项目不能正常启动（Failed to configure a DataSource）
 *         解决：直接使用 druid 依赖
 * </pre>
 *
 * @author liangxu
 */
@SpringBootApplication
@MapperScan("top.lshaci.learning.shardingjdbc.mapper")
public class ShardingJdbcApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShardingJdbcApplication.class, args);
    }
}
